package priv.menghan.happy.learning.common.cfg;

/**
 * @author Monika
 * @date 2025/6/16
 */

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "spring.datasource")
@RefreshScope
public class DataSourceProperties {
	private String url;
	private String username;
	private String password;
	private String driverClassName;

	// Getter & Setter
}
